package com.purchase.ml.enums;

/**
 * Created by kyyang on 2020/12/31 12:52
 */
public enum ConmonStatusEnum {
    //    0:待付款；1:已支付；2已发货；3：配送中；4：已送达；5已签收;6 已删除

    PADING(0,"Pending"),
    SUCCESS(1,"Berjaya"),
    FAIL(2,"Gagal");



    private Integer code;

    private String desc;

    ConmonStatusEnum(Integer code, String desc){
        this.code= code;
        this.desc=desc;
    }


    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
